//
//  GesDatabase.h
//  HuaMuJinRong
//
//  Created by Cindy on 15-12-29.
//  Copyright (c) 2015年 EIMS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GesDatabase : NSObject


+(GesDatabase *)getInstance;

- (void)insertOrUpdateUserInfoWithUserName:(NSString *)userName loginPwd:(NSString *)loginpwd gesturePwd:(NSString *)gesturePwd gestureState:(NSString *)gestureState;

- (void)updateGestureState:(NSString *)userName gestureState:(NSString *)gestureState;

- (void)updateGesturePwdWithUser:(NSString *)userName gesture:(NSString *)gesturePwd;

- (NSString *)getLoginPwd:(NSString *)userName;

- (NSString *)getGesturePwd:(NSString *)userName;

- (NSString *)getGestureState:(NSString *)userName;

- (void)deleteUserInfoWithUser:(NSString *)account;

- (void)deleteAllUserInfo;

- (NSMutableArray *)getAllUserNames;



@end
